package org.example.jwt1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.jwt1.entity.Role;
import org.example.jwt1.entity.TUser;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("select * from user where username = #{username}")
    TUser findUserByName(String username);
}
